﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISERelleno")]
    public interface ISERelleno
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/ListarRelleno", ReplyAction = "http://tempuri.org/ISERelleno/ListarRellenoResponse")]
        Relleno[] ListarRelleno();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/InsertarRelleno", ReplyAction = "http://tempuri.org/ISERelleno/InsertarRellenoResponse")]
        int InsertarRelleno(Relleno relleno);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/ModificarRelleno", ReplyAction = "http://tempuri.org/ISERelleno/ModificarRellenoResponse")]
        void ModificarRelleno(Relleno relleno);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/EliminarRelleno", ReplyAction = "http://tempuri.org/ISERelleno/EliminarRellenoResponse")]
        void EliminarRelleno(int codigoTipoRelleno);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/BuscarRelleno", ReplyAction = "http://tempuri.org/ISERelleno/BuscarRellenoResponse")]
        Relleno[] BuscarRelleno(string descripcion);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/ObtenerRelleno", ReplyAction = "http://tempuri.org/ISERelleno/ObtenerRellenoResponse")]
        Relleno ObtenerRelleno(int codigoTipoRelleno);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISERelleno/ObtenerListItem", ReplyAction = "http://tempuri.org/ISERelleno/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISERellenoChannel : ISERelleno, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SERellenoClient : System.ServiceModel.ClientBase<ISERelleno>, ISERelleno
    {

        public SERellenoClient()
        {
        }

        public SERellenoClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SERellenoClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SERellenoClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SERellenoClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public Relleno[] ListarRelleno()
        {
            return base.Channel.ListarRelleno();
        }

        public int InsertarRelleno(Relleno relleno)
        {
            return base.Channel.InsertarRelleno(relleno);
        }

        public void ModificarRelleno(Relleno relleno)
        {
            base.Channel.ModificarRelleno(relleno);
        }

        public void EliminarRelleno(int codigoTipoRelleno)
        {
            base.Channel.EliminarRelleno(codigoTipoRelleno);
        }

        public Relleno[] BuscarRelleno(string descripcion)
        {
            return base.Channel.BuscarRelleno(descripcion);
        }

        public Relleno ObtenerRelleno(int codigoTipoRelleno)
        {
            return base.Channel.ObtenerRelleno(codigoTipoRelleno);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}